package com.jxy.homepage.security.jwt;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * JwtSecurityProperties
 *
 * @author Jxy
 * @date 2022/1/9
 * @Description jwt的配置类
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "jwt")
public class JwtSecurityProperties {
    private String header;
    private String secret;
    private Long tokenValidityInSeconds;
}
